package com.iyundao.io.mapper;

import com.iyundao.io.model.SignInImage;

import static org.apache.ibatis.jdbc.SqlBuilder.*;

public class SignInImageSqlProvider {

    public String insertSelective(SignInImage record) {
        BEGIN();
        INSERT_INTO("signinimage");
        
        if (record.getId() != null) {
            VALUES("id", "#{id,jdbcType=INTEGER}");
        }
        
        if (record.getSigninid() != null) {
            VALUES("signinid", "#{signinid,jdbcType=INTEGER}");
        }
        
        if (record.getSigninimage() != null) {
            VALUES("signinimage", "#{signinimage,jdbcType=VARCHAR}");
        }
        
        if (record.getPartymemberid() != null) {
            VALUES("partymemberid", "#{partymemberid,jdbcType=INTEGER}");
        }
        
        return SQL();
    }
}